/**
 * FlightRegisterInfo.java
 * 2010-1-14
 */
package com.dlplay.flightinfo.data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;

import com.google.appengine.api.datastore.Key;

/**
 * @author zhao yu
 *
 */
public abstract class FlightRegInfo {	
	/**
	 * @param oldFlight, if the oldFlight is null, it is the first time notify
	 * @param newFlight
	 * Description: notify the end user
	 */
	@Transient
	public abstract void notify(RealTimeFlightInfo oldFlight, RealTimeFlightInfo newFlight);
	
	/**
	 * @param info
	 * Description: send a welcome to register
	 */
	@Transient
	public abstract void welcome(RealTimeFlightInfo info);		
}
